package com.zbkj.service.service.water;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zbkj.common.model.water.RzDevice;
import com.zbkj.common.model.water.RzStore;
import com.zbkj.common.request.water.RzStoreSaveRequest;
import com.zbkj.common.request.water.RzStoreSaveReturn;
import com.zbkj.common.request.water.RzStoreSearchRequest;

import java.util.List;

/**
 * RzStore 服务接口
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
public interface RzStoreService extends IService<RzStore> {

    PageInfo<RzStoreSaveReturn> getPage(RzStoreSearchRequest request);

    Boolean add(RzStoreSaveRequest request);

    Boolean updateStore(RzStoreSaveRequest request);

    Boolean deleteById(Integer id);

    List<RzDevice> getDevicesByStoreId(Integer storeId);
}
